package org.zfes.snowier.xyz.analysis.analysers.demos;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.stereotype.Component;
import org.zfes.snowier.common.chains.handler.HandlerAdapter;
import org.zfes.snowier.common.chains.handler.HandlerEntry;
import org.zfes.snowier.common.chains.session.ISession;
import org.zfes.snowier.core.util.ZAlert;
public class DemoHandler2 extends HandlerAdapter{

	private static final Logger logger = LoggerFactory.getLogger(DemoHandler2.class);
	@Override
	protected void doHandleExcute(ISession session, Object data, HandlerEntry entry) {
		//logger.info("doHandleExcute:-session:{},entry:{}",session.getId(),entry.getName());
		//session.fireStop(entry, 97);
		//session.fireError(entry, new RuntimeException("出错了"));
		if(1==1) {
		//	ZAlert.throwSLE("-----efsdfd");
		}
		//int a=1/0;//if(1==1) {
		logger.info("DemoHandler2---now:{}",System.currentTimeMillis());
	}

	


}
